package red.lixiang.dao.impl;

import red.lixiang.dao.OrderDAO;
import red.lixiang.model.Order;
import red.lixiang.model.Product;
import red.lixiang.model.Report;

import java.util.List;

public class OrderDaoImpl implements OrderDAO {
    @Override
    public int insertNewOrder(Order order) {
        return 0;
    }

    @Override
    public int insertOrderProduct(int orderId, String barCode, int productNum, Double discount, int saleType, Double salePrice) {
        return 0;
    }

    @Override
    public List<Report> getMemberSale(Integer id) {
        return null;
    }

    @Override
    public Order getOrderById(Integer id) {
        return null;
    }

    @Override
    public List<Order> getOrderByType(Integer type,Integer memberId) {
        return null;
    }

    @Override
    public List<Order> getOrderByMemberId(Integer memberId) {
        return null;
    }

    @Override
    public List<Product> getOrderProductByOrderId(Integer orderId) {
        return null;
    }

    @Override
    public int contactMember(Integer memberId, Integer orderId) {
        return 0;
    }

    @Override
    public List<Order> getOrdersByTime(String beginTime, String endTime) {
        return null;
    }

    @Override
    public int updateOrder(Order order) {
        return 0;
    }


}
